/*
 * File:AbstractProxy.java Type:net.wangds.common.proxy.AbstractProxy
 */

package net.wangds.common.proxy;

import net.wangds.common.GeneralParentObject;

/**
 * 抽象代理类.
 * <p>
 * <h1>修改列表:</h1>
 * <ol>
 * <li>初始版本, by wangds@gmail.com, 2013-11-7 上午9:45:33</li>
 * </ol>
 * </p>
 * 
 * @param <S>
 *          被代理的对象类型.
 * @author wangds@gmail.com
 * @version 0.1.1
 * @since 0.1
 */
public class AbstractProxy<S> extends GeneralParentObject implements Proxy<S> {

  /**
   * 被代理对象.
   */
  private S subject;

  @Override
  public S getSubject() {
    return this.subject;
  }

  @Override
  public void setSubject(final S theSubject) {
    this.subject = theSubject;
  }

}
